package com.lm.Decorator;

/**
 * 抽象装饰者
 */
public abstract class AbstractDecorator implements Shape{

    protected Shape decorator;

    public AbstractDecorator(Shape decorator){
        this.decorator = decorator;
    }

    @Override
    public void draw() {
        decorator.draw();
    }
}
